package UDPSIDE;

import java.net.SocketException;
import java.net.UnknownHostException;

/**
 * @创建人 MBY381
 * @创建时间 2022/6/7 14:55
 * @描述 暂无
 */
public class Test {
    public static void main(String[] args) throws SocketException, UnknownHostException, InterruptedException {
        UDPClientThread udpSenderThread = new UDPClientThread("192.168.13.249", 8888);
        UDPServerThread udpReceiveThread = new UDPServerThread(9999);
        Thread thread1 = new Thread(udpReceiveThread);
        thread1.start();
        Thread thread2=new Thread(udpSenderThread);
        thread2.start();
    }
}
